package skiree.host.abetsy.api.service;

import org.springframework.scheduling.annotation.Async;
import skiree.host.abetsy.api.vessel.Result;
import skiree.host.abetsy.model.LocalAnime;

public interface AnimeService {
    Result list(String query, int pageNum, int pageSize);

    Result add(LocalAnime localAnime);

    Result edit(LocalAnime localAnime);

    @Async
    void delete(int id);

    @Async
    void increment(int id);

    @Async
    void complete(int id);
}